package cn.fl.customer.service.impl;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

import cn.cmm.base.framework.utils.StringUtils;
import cn.fl.customer.service.ICstNpKidsService;
import cn.fl.customer.transform.CstNpKidsVOTransform;
import cn.fl.customer.vo.CstNpKidsVO;
import fl.customer.facade.customer.dto.CstNpKidsDTO;

@Service
public class CstNpKidsServiceImpl implements ICstNpKidsService {

	/**
	 * 日志
	 */
	@SuppressWarnings("unused")
	private static final Logger logger = LoggerFactory.getLogger(CstNpKidsServiceImpl.class);
	
	/**
	 * TODO 自定义 API 暴露服务
	 */
	//@Autowired
	//private I自定义ApiService 自定义ApiService;

	@Override
	public CstNpKidsVO selectById(Long id) {
		if(StringUtils.isEmpty(id))return null;
		CstNpKidsDTO dto = null;//this.自定义ApiService.selectById(id);
		return CstNpKidsVOTransform.toVO(dto);
	}

	/*@Override
	public Long add(CstNpKidsVO entity) {
		if(null == entity)return null;
		return this.cstNpKidsApiService.add(CstNpKidsVOTransform.toDTO(entity));
	}*/

	/*@Override
	public boolean removeById(Long id) {
		if(StringUtils.isEmpty(id))return false;
		return this.cstNpKidsApiService.removeById(id);
	}*/

	/*@Override
	public boolean modify(CstNpKidsVO entity) {
		if(null == entity)return false;
		return this.cstNpKidsApiService.modify(CstNpKidsVOTransform.toDTO(entity));
	}*/

	/*@Override
	public Pager searchList(Pager page) {
		if(null == page)page = new Pager();
		return this.cstNpKidsApiService.searchList(page);
	}*/

	/*@Override
	public Pager searchList(Pager page, CstNpKidsVO entity) {
		if(null == entity) return page;
		if(null == page)page = new Pager();
		return this.cstNpKidsApiService.searchList(page);
	}*/
}
